//
//  SongTableViewCell.m
//  22-ALiMusic
//
//  Created by dllo on 16/8/15.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "SongTableViewCell.h"
#import "SongList.h"
@interface SongTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *songNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *aliasLabel;

@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@end

@implementation SongTableViewCell

- (void)setSongList:(SongList *)songList {
    _songList = songList;
    _aliasLabel.text = songList.alias;
    _descLabel.text = [NSString stringWithFormat:@"%@-%@", songList.singerName, songList.albumName];
    _songNameLabel.text = songList.name;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
